/**
 * MatriculaGrid.java
 */

 /**
 *  AdSec: Administrador de Secundarias
 *  Copyright (C) 2009 Daniela Ramírez Chaves (dannyrch@gmail.com)
 *  Copyright (C) 2009 Leonel Salazar Valverde (leo87sv@gmail.com)
 *
 *  This file is part of AdSec.
 *  AdSec is free software: you can redistribute it and/or modify
 *  it under the terms of the GNU General Public License as published by
 *  the Free Software Foundation, either version 3 of the License, or
 *  (at your option) any later version.
 *
 *  AdSec is distributed in the hope that it will be useful,
 *  but WITHOUT ANY WARRANTY; without even the implied warranty of
 *  MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
 *  GNU General Public License for more details.
 *
 *  You should have received a copy of the GNU General Public License
 *  along with AdSec.  If not, see <http://www.gnu.org/licenses/>.
 */

package adsec.entidades;


public class MatriculaGrid {

    /**
     *  SELECT r.id_registro, e.cedula, e.nombre, e.apellidos, r.nivel, r.monto
     *  FROM registro_matricula r, estudiante e
     *  WHERE r.anio = anio_p AND r.ced_estudiante = e.cedula
     */

    // <editor-fold defaultstate="collapsed" desc="Constantes de Nombres de Columnas">
    public static final String idRegistroNC = "id_registro";
    public static final String cedulaNC = "cedula";
    public static final String nombreNC = "nombre";
    public static final String apellidosNC = "apellidos";
    public static final String montoNC = "monto";
    public static final String nivelNC = "nivel";
    // </editor-fold>

    // <editor-fold defaultstate="collapsed" desc="Atributos privados de la clase">
    private int idRegistro;
    private String cedulaEstudiante;
    private String nombre;
    private String apellidos;
    private int monto;
    private int nivel;
    // </editor-fold>

    public static int REGISTRO_NULO = 0;

    public MatriculaGrid(){
        this.idRegistro = REGISTRO_NULO;
        this.cedulaEstudiante = "";
        this.nombre = this.apellidos = "";
        this.nivel = this.monto = 0;
    }//fin de constructor

    /**
     * @return the idRegistro
     */
    public int getIdRegistro() {
        return idRegistro;
    }

    /**
     * @param idRegistro the idRegistro to set
     */
    public void setIdRegistro(int idRegistro) {
        this.idRegistro = idRegistro;
    }

    /**
     * @return the cedulaEstudiante
     */
    public String getCedulaEstudiante() {
        return cedulaEstudiante;
    }

    /**
     * @param cedulaEstudiante the cedulaEstudiante to set
     */
    public void setCedulaEstudiante(String cedulaEstudiante) {
        this.cedulaEstudiante = cedulaEstudiante;
    }

    /**
     * @return the nombre
     */
    public String getNombre() {
        return nombre;
    }

    /**
     * @param nombre the nombre to set
     */
    public void setNombre(String nombre) {
        this.nombre = nombre;
    }

    /**
     * @return the apellidos
     */
    public String getApellidos() {
        return apellidos;
    }

    /**
     * @param apellidos the apellidos to set
     */
    public void setApellidos(String apellidos) {
        this.apellidos = apellidos;
    }

    /**
     * @return the monto
     */
    public int getMonto() {
        return monto;
    }

    /**
     * @param monto the monto to set
     */
    public void setMonto(int monto) {
        this.monto = monto;
    }

    /**
     * @return the nivel
     */
    public int getNivel() {
        return nivel;
    }

    /**
     * @param nivel the nivel to set
     */
    public void setNivel(int nivel) {
        this.nivel = nivel;
    }


}//fin de materia
